package com.factorymethod;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author fanxiao  2022/4/1
 * @since 1.0.0
 */
@Configuration
public class AppConfig {

	@Bean
	public EooFactoryBean eooFactoryBean() {
		return new EooFactoryBean();
	}

	@Bean
	public Foo foo() {
		return new Foo();
	}
}